Fix #2363: Support using bundled headers with NVRTC 13.3+. - #2753
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
|
2 tasks
leofang
added a commit
that referenced
this pull request
Sep 2, 2026
* Prepare cuda.core v1.2.0 release Fill remaining user-visible entries in the 1.2.0 release notes and add 1.1.1 and 1.2.0 to the docs version switcher. Version is derived from the git tag via setuptools-scm, so no pyproject.toml bump is needed. New features documented: - ProgramOptions.use_bundled_headers for NVRTC 13.3+ (#2753 closes #2363) - cuda-gdb source display for JIT-compiled kernels (#2678, #2679) Fixes and enhancements documented: - PinnedMemoryResource host-pool validation at construction (#2487) - is_host_accessible for NUMA-located VMM (#2503) - Graph predecessor/successor query truncation on large graphs (#2587) - Per-domain NVML clock queries treated as independently optional (#2651) - Temperature threshold checks forward-compat with unknown archs (#2488) - import cuda.core non-integer opt-out crash (#2535) - Frozen CUresult explanation table refreshed for CUDA 13.3 (#2383) -- Leo's bot * Update cuda_core/docs/source/release/1.2.0-notes.rst Co-authored-by: Michael Droettboom <[email protected]> --------- Co-authored-by: Michael Droettboom <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds support for using bundled headers, as provided in NVRTC 13.3.
This sidesteps a lot of the complexity of what #2363 suggested by just using the
--use-bundled-headerscommandline argument, rather than making API calls directly. It handles updating to a new version (only when necessary) and adding the installed-header location to the include paths appropriately, so we don't have to re-invent those wheels.This always uses a user-global cache directory (following the platform-specific conventions for those). There is a small refactor here to pull out the logic for that that already existed for
program_cacheinto a general utility that this and theprogram_cacheboth use.